import {setServer} from "@/utils/axios";
const request = setServer('');
import {fireUrl} from "../../../url";
const fireRequest = setServer(fireUrl);

// 获取消息通知
export function getMessageList(query) {
  return request({
    url: '/notice/',
    method: 'get',
    params: query
  })
}

// 获取消息推送记录
export function getMessageRecord(query) {
  return request({
    url: '/notice/record/list',
    method: 'get',
    params: query
  })
}

// 获取消防消息通知
export function getFireMessage(query) {
  return fireRequest({
    url: '/notice/',
    method: 'get',
    params: query
  })
}
